package homework.work9;

public class Cat extends Animal{
    String color;

    //行为
    public void hunt(){
        System.out.println("it can hunt mouse");
    }

    //构造器


    public Cat() {
    }

    public Cat(String color) {
        this.color = color;
    }
}
